package com.wowoai.chatai.convert;

import com.wowoai.chatai.controller.vo.UserDrawingVO;
import com.wowoai.chatai.controller.vo.UserImageVO;
import com.wowoai.chatai.entity.UserDrawingEntity;
import com.wowoai.chatai.service.dto.UserDrawingDTO;
import com.wowoai.chatai.service.dto.UserImageDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserDrawingConvert {
    UserDrawingConvert INS = Mappers.getMapper(UserDrawingConvert.class);

    UserDrawingDTO entity2DTO(UserDrawingEntity userEntity);

    UserDrawingVO dto2VO(UserDrawingDTO userDTO);

    UserImageVO userImageDTO2VO(UserImageDTO userImageDTO);
}
